<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">
    var string1 = 'aBc';
    // a-z a:97 b:98
    // A-Z A:65 B:66
    // http://www.asciima.com/ascii/12.html
    // https://baike.baidu.com/item/ASCII/309296?fr=aladdin

    console.log(string1.charCodeAt(1)); // 获取下标为 1 的字符的 ascii码值
</script>

</html>
